#include <stdio.h>

int main()
{
    int num1 = 100;
    int num2 = 30;
    /*加法*/
    int sum = num1 + num2;
    printf("sum:%d\n",sum);
/*减法*/
    int minus =num1 - num2;
    printf("minus:%d\n",minus);

      /*乘法*/
    int mulpti = num1 * num2;
    printf("mulpti:%d\n",mulpti);
    /* 除法*/
    int division = num1 / num2;
    printf("division:%d\n",division);
    /*运算符取余*/
    int remainder = num1 % num2;
    printf("remainder:%d\n",remainder);

    /*  */
    num1 =num1 +1;
    printf("num1:%d\n",num1);

    num1 +=1;
     printf("num1:%d\n",num1);
    
    num1 ++;
     printf("num1:%d\n",num1);

    num2 += 10;
     printf("num2:%d\n",num2);





/* 与门*/
#if 0
 双目运算符
 /* && || ! */
 &&:两边条件都满足才为真，即1.满足其一为假
 ||：两边条件只有一个满足时，就为1.只有两个为假才为0
 ！：非   取反 
     0取反为1；
     1取反为0

 #endif


 #if 0
     条件表达式 ==
     结果要么为1，要么为0

#endif
    return 0;

}
